from typing import List

import numpy as np


class Agent:
    name: int
    time: int = 0

    m: float = 80  # kg
    radius: float = 0.2  # m

    expected_speed: float = 3.0  # m/s

    def __init__(self, name: int):
        self.name = name
        self.actual_speed: np.ndarray = np.array([0.0, 0.0])  # m/s

        self.position: np.ndarray = np.array([0.0, 0.0])  # m
        self.destination: np.ndarray = np.array([0.0, 0.0])  # m

        self.force: np.ndarray = np.array([0.0, 0.0])  #

    def set_position(self, pos: np.ndarray):
        self.position = pos
        return self

    def set_destination(self, des):
        self.destination = des
        return self
